<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        #container {
            width: 900px;
            height: 600px;
            margin: 0px auto;
        }

        #top {
            width: 900px;
            height: 80px;

        }

        #bottom {
            overflow: hidden;
            width: 900px;
            height: 500px;
            /* 渐变色 参数：方向，颜色*/
            background-image: linear-gradient(to bottom, #CCC, #FFF);

        }

        #main {
            width: 800px;
            height: 470px;
            margin: 10px auto;
        }

        #main-top {
            width: 800px;
            height: 390px;
            background: url(./素材/blog/pic.jpg) no-repeat;

        }

        #main-bottom {
            width: 800px;
            height: 80px;
        }

        #top li {
            list-style: none;
            float: left;
            width: 100px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            margin-top: 20px;
        }

        #top img {
            float: left;
        }

        #dog {
            width: 80px;
            height: 80px;
            /* 设置圆形，宽度和高度相同 */
            border-radius: 50%;
            /* 超出的部分隐藏起来 */
            overflow: hidden;
            position: relative;
            top: -40px;
            right: 420px;
        }

        #main-top h3 {
            position: relative;
            top: 350px;
            right: -200px;
            color: #FFF;

        }

        #xiao li {
            list-style: none;
            float: left;
            position: relative;
            top: 20px;
            right: -190px;
            font-size: 14px;
            color: #CCC;
        }

        #xiao a {
            text-decoration: none;
        }
    </style>
</head>

<body>
    <div id="container">
        <div id="top">
            <img src="./素材/blog/blog.png">
            <ul>
                <li>网站首页</li>
                <li>网站首页</li>
                <li>网站首页</li>
                <li>网站首页</li>
            </ul>
        </div>
        <div id="bottom">
            <div id="main">
                <div id="main-top">
                    <h3>诗于远方过于遥远，不如在有风景的城市，做一次旅行者。</h3>
                </div>
                <div id="main-bottom">
                    <div id="xiao">
                        <ul>
                            <li><a href="#">小寒公主</a></li>
                            <li>&nbsp;|&nbsp;2018-12-5 &nbsp;15:30&nbsp;|&nbsp;浏览&nbsp;2250</li>
                            <li>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;收藏&nbsp;|&nbsp;分享
                            </li>
                        </ul>
                    </div>
                    <div id="dog">
                        <img src="./素材/blog/touxiang.jpg" height="80px">

                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>